Lesson 4 Exercise 2: Using Object Views

Objective

In this exercise you will use basic techniques to create and edit object views.

Try to complete the following steps on your own. If you need help, click the step to jump to a set of more detailed steps.

1	Start METIS and Create Exercise Model

Create a new model called MyExerciseL4_2 based on the Training template.

2	Create Object Views

Create two object views of person Ruth Garcia (located in data_persons.kmd): one view in the Personnel container and another in the Organization container.

3	Delete Object View

Delete the view of person Paul Smith.

4	Create a Mirror View of a Container

Create a mirror dependent view of the Organization container, and then add a new object to the source view. Add a new object to the mirror view.

5	Delete Mirror View

Delete the mirror view of the Organization container.

6	Save the Model and Close METIS

7	Practice on Your Own (Optional)

Start METIS and Create Exercise Model

Complete the following steps to start METIS and create a new model file based on an example template:

1	Minimize your web browser and any other application you have open (except this window) to see your desktop.

2	Double-click the METIS icon [image] to launch METIS.

3	In the dialog box, click the Model From Template option.

4	In the template list, click Training, and then click OK.

5	In the file dialog box, enter MyExerciseL4_2 for the filename and click Save.

6	Position this Exercise window so that you have a good view of the modeling window.

Create Object Views

Create two object views of a person object that is located in another file: one view in the Personnel container and another in the Organization container. Complete the following steps:

1	Zoom to the Personnel and Organization containers.

2	Load the file containing the person object:

•	Click the File tab in the left pane of the METIS window.

•	In the File tree that displays, navigate to the cbt folder of your METIS installation and double-click the file data_persons.kmd to load it. (If you accepted the default folder when you installed METIS, the file would be in c:\Program Files\METIS3.0\cbt.) Click OK in the Load Information window.

3	Click the Object tab. In the Object tree that displays, find the file data_persons.kmd. If necessary, click the + icon to expand the file. Click the + icon next to Person to expand this type.

4	Drag Ruth Garcia from the Object tree and drop in the lower right corner of the Personnel container.

5	If necessary, select the new object view Ruth Garcia and then click the Copy tool [image].

6	Right-click in the lower right corner of the Organization container, point to Paste View and click Paste Duplicate View.

Delete Object View

Delete the view of one of the persons in the Personnel container as follows:

•	Right-click the person Paul Smith and select Delete View. Click OK in the Confirm Delete window. Note that the object Paul Smith remains in the Object tree.

Create a Mirror View of a Container

Create a mirror view of the Organization container and add a new person object to the source view container. Add a new object to the mirror view. Complete the following steps:

1	Select the Organization container and click the Copy tool [image].

2	Use the vertical scroll bar located to the right of the METIS window to scroll the model view down so that you can still see the Organization container.

3	Right-click the background above the Organization container, point to Paste View and click Paste Mirror View.

4	Click the Domain tab and expand the Resource domain.

5	Drag the Person object type from the Domain tree and drop it onto the upper left corner of the source view of the Organization container.

6	Enter Joe Brown in the Name box and click OK. Note that this object is also displayed in the mirror view.

Example

7	Drag another Person object type from the Domain tree and drop it onto the upper right corner of the mirror view.

8	Enter Lucy Hall in the Name box and click OK. Note that this object is not displayed in the source view.

Example

Delete Mirror View

•	Right-click the mirror view of the Organization container and select Delete View. Click OK in the Confirm Delete window.

Save the Model and Close METIS

Complete the following steps to complete the lesson:

1	From the File menu, click Save.

2	From the File menu, click Exit.

3	Close this window and maximize your browser to continue with the course.

Practice on Your Own (Optional)


Practice on Your Own (Optional)

•	Create views of the person objects from ACME, Inc. (MyExerciseL2.kmv) to complete the staffing for an existing department. (If you didn't create a model for ACME, or if you do not have access to it now, you can use the file \cbt\data_persons.kmd for the same purpose.)

•	Create a camera view of the Personnel container. Add a new person object to the source view container. Note that the new object is not displayed in the camera view. Right-click the camera view and click Refresh All Dependent Views to update the camera view.


Objects Added to Source View Displayed in Mirror View

Back to Exercise


Objects Added to Mirror View Not Displayed in Source View

Back to Exercise